package com.example.video.admin_server.service;

import com.example.video.admin_server.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.video.admin_server.entity.vo.SysRoleDetailsVo;

/**
 * <p>
 * 系统角色表 服务类
 * </p>
 *
 * @author yj
 */
public interface ISysRoleService extends IService<SysRole> {

    boolean saveRole(SysRoleDetailsVo sysRoleDto);

    boolean updateRole(SysRoleDetailsVo sysRoleDto);

    SysRoleDetailsVo getDetails(Integer id);

    boolean delRole(Integer roleId);
}
